package com.csust.automaticteach.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.csust.automaticteach.model.entity.ClassExercise;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csust.automaticteach.model.vo.exercises.StudentExercisesSetsVO;

import java.util.List;

/**
* @author 钰玟
* @description 针对表【t_class_exercise(班级练习关联表)】的数据库操作Mapper
* @createDate 2025-08-16 15:41:14
* @Entity com.csust.automaticteach.model.entity.ClassExercise
*/
public interface ClassExerciseMapper extends BaseMapper<ClassExercise> {

    /**
     * 获取学生所在班级下所有练习
     * @param classId 班级id
     * @return List<StudentExercisesSetsVO>
     */
    Page<StudentExercisesSetsVO> listStudentExercisesSetsVO(Page<StudentExercisesSetsVO> page,Long classId);
}




